<table cellspacing="0" cellpadding="0">
    <thead>
        <tr>
            <td colspan="7" class="dbgrid_th_header"><?php echo $this->translate("lastTenCusTitle"); ?></td>
        </tr>
        <tr>
            <td class="dbgrid_th2"><span><?php echo $this->translate("id"); ?></span></td>
            <td class="dbgrid_th2"><span><?php echo $this->translate("customerNo"); ?></span></td>
            <td class="dbgrid_th2"><span><?php echo $this->translate("name"); ?></span></td>
            <td class="dbgrid_th2"><span><?php echo $this->translate("email"); ?></span></td>
            <td class="dbgrid_th2"><span><?php echo $this->translate("lastLogin"); ?></span></td>
            <td class="dbgrid_th2"><span><?php echo $this->translate("lastOrder"); ?></span></td>
            <td class="dbgrid_th2"><span><?php echo $this->translate("createDate"); ?></span></td>
        </tr>
    </thead>
    <tbody>
        <?php
            foreach($this->customers as $customer){
        ?>
        <tr onmouseout="javascript:DBGrid.changeRowStyle(this,0);" onmouseover="javascript:DBGrid.changeRowStyle(this,1);" onclick='javascript:Customer.openEditDialog("/backend/pub/customer/customer/edit/id/<?php echo $customer['id'] ;?>");' style="cursor:pointer;">
            <td class="dbgrid_td">&nbsp;<?php echo $this->escape($customer['id']) ;?>&nbsp;</td>
            <td class="dbgrid_td">&nbsp;<?php echo $this->escape($customer['customer_num']) ;?>&nbsp;</td>
            <td class="dbgrid_td">&nbsp;<?php echo $this->escape($customer['name']) ;?>&nbsp;</td>
            <td class="dbgrid_td">&nbsp;<?php echo $this->escape($customer['email']) ;?></td>
            <td class="dbgrid_td">&nbsp;<?php echo $this->escape($customer['last_login']) ;?>&nbsp;</td>
            <td class="dbgrid_td">&nbsp;<?php echo $this->escape($customer['last_order']) ;?>&nbsp;</td>
            <td class="dbgrid_td">&nbsp;<?php echo $this->escape($customer['created']) ;?>&nbsp;</td>
        </tr>
        <?php } ?>
    </tbody>
</table>